package test;

import scala.testing.SUnit._;
import scala.xml.{Node};
import utils.SchemaXML;

class testXSD extends TestCase("My First Test"){
  
  def runTest() = {
  
    val schemaOiseaux:SchemaXML = new SchemaXML("/home_local/sophie/workspace/Xamaulo/src/utils/oiseaux.xsd")
    assertNotNull(schemaOiseaux)
    
    val racines:Seq[Node] = schemaOiseaux.getRacines();
    assertTrue(racines.length == 1)
  }
  
}
